<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header>
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer>用户中心 仅学习用</a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup lang="ts">
import GlobalHeader from '@/layouts/header/GlobalHeader.vue'
</script>

<style scoped>
#basicLayout .ant-layout-footer {
  background: #efefef;
  padding: 16px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
#basicLayout .content {
  background: linear-gradient(to right, #fefefe, #fff);
  margin-bottom: 28px;
  padding: 20px;
}
#basicLayout .ant-layout-header {
  background: white;
  margin-bottom: 10px;
  padding-inline: 20px;
  color: unset;
}
</style>
